package org.zoomdev.zoom.validator;

import org.zoomdev.zoom.ioc.Ioc;

import java.lang.reflect.AnnotatedElement;

/**
 * validator类厂
 */
@FunctionalInterface
public interface ValidatorFactory {

    /**
     * @param element
     * @param ioc
     * @return
     */
    Validator create(AnnotatedElement element, Ioc ioc);
}
